<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!-- <form action="" method="get">
        <table>
            <tr>
                <td>账号</td>
                <td><input type="text" name="acc" id="acc"></td>
            </tr>
            <tr>
                <td>密码</td>
                <td><input type="password" name="pwd" id="pwd"></td>
            </tr>
            <tr>
                <td>&nbsp;</td>
                <td><input type="submit" value="登录"></td>
            </tr>
        </table>
    </form> -->

    <script>
        var info=location.search;
        info=info.substr(1);
        var ws=info.split(/[=&]/);
        console.log(ws);
    </script>
</body>
</html>